﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ShowPage.aspx.cs" Inherits="Catering.ShowPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <script src="Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="Scripts/jquery.tmpl.min.js" type="text/javascript"></script>
    <script src="Scripts/sp_lib.js" type="text/javascript"></script>
    <script src="Scripts/notepad.js" type="text/javascript"></script>
    <link href="Style/zhanban.css" rel="stylesheet" type="text/css" />

    <script type="text/x-jquery-tmpl" id="simpleTmpl">
        <table align="center" cellpadding="0" cellspacing="0" class="Zhanban02" >
            <tr>
                <th colspan="2">今天是${datetime}</th>
            </tr>
            <tr><td class="bgspecial"></td><td class="special"></td></tr>
            <tr>
                <td colspan="2"><p>{{html body}}</p></td>
            </tr>
        </table>
        
    </script>
    <script type="text/x-jquery-tmpl" id="listItemTmpl">
            <tr>
                {{if ClassName1 && ClassName1.length>0}}
		        <td rowspan="2" class="special">{{html ClassName1}}</td>
		        <td class="css_01 special">管　事:</td>
		        <td class="css_01_txt special">${Steward1}</td>
                {{else}}
                <td rowspan="2" class="special"></td>
		        <td class="css_01 special"></td>
		        <td class="css_01_txt special"></td>
                {{/if}}
                {{if ClassName2 && ClassName2.length>0}}
		        <td rowspan="2">${ClassName2}</td>
		        <td class="css_01">管　事:</td>
		        <td class="css_01_txt">${Steward2}</td>
                {{else}}
                <td rowspan="2"></td>
		        <td class="css_01"></td>
		        <td class="css_01_txt"></td>
                {{/if}}
                {{if ClassName3 && ClassName3.length>0}}
		        <td rowspan="2" class="special">${ClassName3}</td>
		        <td class="css_01 special">管　事:</td>
		        <td class="css_01_txt special">${Steward3}</td>
                {{else}}
                <td rowspan="2" class="special"></td>
		        <td class="css_01 special"></td>
		        <td class="css_01_txt special"></td>
                {{/if}}
                {{if ClassName4 && ClassName4.length>0}}
		        <td rowspan="2">${ClassName4}</td>
		        <td class="css_01">管　事:</td>
		        <td class="css_01_txt">${Steward4}</td>
                {{else}}
                <td rowspan="2"></td>
		        <td class="css_01"></td>
		        <td class="css_01_txt"></td>
                {{/if}}
                {{if ClassName5 && ClassName5.length>0}}
		        <td rowspan="2" class="special">${ClassName5}</td>
		        <td class="css_01 special">管　事:</td>
		        <td class="css_01_txt special">${Steward5}</td>
                {{else}}
                <td rowspan="2" class="special"></td>
		        <td class="css_01 special"></td>
		        <td class="css_01_txt special"></td>
                {{/if}}
	        </tr>
            <tr>
                {{if ClassName1 && ClassName1.length>0}}
		        <td class="css_02 special">安全员:</td>
		        <td class="css_02_txt special">${SecurityU1}</td>
                {{else}}
                <td class="special"></td>
		        <td class="special"></td>
                {{/if}}
                {{if ClassName2 && ClassName2.length>0}}
		        <td class="css_02">安全员:</td>
		        <td class="css_02_txt">${SecurityU2}</td>
                {{else}}
                <td></td>
		        <td></td>
                {{/if}}
                {{if ClassName3 && ClassName3.length>0}}
		        <td class="css_02 special">安全员:</td>
		        <td class="css_02_txt special">${SecurityU3}</td>
                {{else}}
                <td class="special"></td>
		        <td class="special"></td>
                {{/if}}
                {{if ClassName4 && ClassName4.length>0}}
		        <td class="css_02">安全员:</td>
		        <td class="css_02_txt">${SecurityU4}</td>
                {{else}}
                <td></td>
		        <td></td>
                {{/if}}
                {{if ClassName5 && ClassName5.length>0}}
		        <td class="css_02 special">安全员:</td>
		        <td class="css_02_txt special">${SecurityU5}</td>
                {{else}}
                <td class="special"></td>
		        <td class="special"></td>
                {{/if}}
	        </tr>
    </script>
    <script type="text/x-jquery-tmpl" id="listTmpl">
        <div class="LED_Log">配餐公司自营油田作业公司安全管理网络动态图</div>
        <table align="center" cellpadding="0" cellspacing="0" class="Zhanban01">
            <tr>
                <td colspan="15" class="css_03">今天是${datetime}</td>
            </tr>
	        <tr>
		        <th colspan="3" class="special">渤西作业区</th>
		        <th colspan="3">辽东作业区</th>
		        <th colspan="3" class="special">渤南作业区</th>
		        <th colspan="3">绥中作业区</th>
		        <th colspan="3" class="special">渤中作业区</th>
	        </tr>
            {{tmpl(list1) "#listItemTmpl"}}
         </table>  
    </script>

    <script type="text/javascript">
        $(function () {
            note.init({
                container: "#noteMain",
                item: ".noteItem",
                second: 15,
                labtime: "#sp_time"
            });
        });
    </script>
    <style type="text/css">
        .noteMain{width:100%; text-align:center;}
        .LED_main{width:100%;}
        .LED_Log{font-size:36px; font-weight:600; color:#fff; width:100%; height:50px; line-height:50px; text-align:center; padding-top:10px;}
        .LED_Time{ font-size:24px; font-weight:600; color:#fff; width:100%; height:35px;text-align:right;}
        .noteItem {display:none; width:100%; margin:0px auto; color:#fff; padding:0;}
        .simplelog{}
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="LED_main"> 
    <div>
        <div></div>
    </div>
    <div id="noteMain" style="padding:0; line-height:25px;">
        <div class="noteItem" tmpl="#simpleTmpl" datatype="simple" type="welcome" labtime="sp_time">
        
        </div>

        <div class="noteItem" tmpl="#listTmpl" datatype="list" type="work" labtime="sp_time">
        </div>
    </div>
    </div>
    </form>
</body>
</html>
